<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<%@ include file="/includes/taglibs.jsp" %>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

	<head>
		<title>Login</title>
	</head>

	<body>
		<table width="80%" border="0" align="center">
			<tr>
				<td width="70%"></td>
				<td width="30%">
					<table width="100%" border="1" bgcolor="#FFFF99">
						<tr>
							<td>
								<form:form commandName="userCredentials" method="post">
									
									<c:if test="${!empty signonForwardAction}">
										<input type="hidden" name="forwardAction" value="<c:url value="${signonForwardAction}"/>"/>
									</c:if>

									<table width="100%">
										<tr>
											<td>Email address:</td>
											<td>
												<form:input path="username" maxlength="100" size="40" />
											</td>
											<td>
												<font color="red">
													<form:errors path="username" />
												</font>
											</td>
										</tr>
										<tr>
											<td>Password:</td>
											<td>
												<form:password path="password" maxlength="20" size="40"/>
											</td>
											<td>
												<font color="red">
													<form:errors path="password" />
												</font>
											</td>
										</tr>
										<tr>
											<td>Remember me:</td>
											<td colspan="2">
												<form:checkbox path="rememberMe"/>
											</td>
										</tr>
										<tr>
											<td colspan="3" align="center">
												<input type="submit" value="Login"/>
											</td>
										</tr>
									</table>
								</form:form>
							</td>
						</tr>
					</table>
					<br/>
					<br/>
					<table width="100%" border="1" bgcolor="#FFFF99">
						<tr>
							<td>
								<table width="100%">
									<tr>
										<td align="center">
											<a href="register.html">Register</a>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>
